﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.ModelManager.PLC
{
    public class HcLabelModel
    {

        #region 上料机 标签

        public static string WL_Start = "start";
        public static string WL_Stop = "stop";
        public static string WL_Reset = "reset";

        public static string WL_leftHead = "L_JOG正";
        public static string WL_leftBack = "L_JOG负";
        public static string WL_RightHead = "R_JOG正";
        public static string WL_RightBack = "R_JOG负";

        public static string WL_L_Home = "L_HOME";
        public static string WL_R_Home = "R_HOME";

        public static string WL_AY = "AY";

        public static string WL_L_JOG_VL = "L_JOG_VL";
        public static string WL_R_JOG_VL = "R_JOG_VL";

        public static string WL_L_POS = "L_POS";
        public static string WL_R_POS = "R_POS";

        public static string WL_L_Auto_Speed = "L_VL";
        public static string WL_R_Auto_Speed = "R_VL";

        public static string WL_L_ACC = "L_POS_ACC";
        public static string WL_R_ACC = "R_POS_ACC";

        public static string WL_L_DEC = "L_POS_DEC";
        public static string WL_R_DEC = "R_POS_DEC";

        public static string WL_L_Tm_POS = "L_ReadPOS";
        public static string WL_R_Tm_POS = "R_ReadPOS";

        public static string WL_L_Zero = "L_ZERO";
        public static string WL_R_Zero = "R_ZERO";

        #endregion


        #region 分拣机 标签

        /// <summary>
        /// 皮带运行
        /// </summary>
        public static string RT_VL_Execute = "VL_Execute";

        /// <summary>
        /// 皮带运行速度
        /// </summary>
        public static string RT_VL_Velocity = "VL_Velocity";

        /// <summary>
        /// 皮带运行加速度
        /// </summary>
        public static string RT_VLACC = "VLACC";

        /// <summary>
        /// 皮带运行减速度
        /// </summary>
        public static string RT_VL_DEC = "VL_DEC";

        /// <summary>
        /// 皮带运行错误
        /// </summary>
        public static string RT_VL_ERROR = "VL_ERROR";

        /// <summary>
        /// 皮带运行错误ID
        /// </summary>
        public static string RT_VL_ERROR_ID = "VL_ERROR_ID";

        /// <summary>
        /// 等级1落框时间
        /// </summary>
        public static string RT_TIME1_1 = "TIME1_1";

        /// <summary>
        /// 等级1气缸打开时间
        /// </summary>
        public static string RT_TIME1_2 = "TIME1_2";

        /// <summary>
        /// 等级2落框时间
        /// </summary>
        public static string RT_TIME2_1 = "TIME2_1";

        /// <summary>
        /// 等级2气缸打开时间
        /// </summary>
        public static string RT_TIME2_2 = "TIME2_2";

        /// <summary>
        /// 等级3落框时间
        /// </summary>
        public static string RT_TIME3_1 = "TIME3_1";

        /// <summary>
        /// 等级3气缸打开时间
        /// </summary>
        public static string RT_TIME3_2 = "TIME3_2";

        /// <summary>
        /// 等级4落框时间
        /// </summary>
        public static string RT_TIME4_1 = "TIME4_1";

        /// <summary>
        /// 等级4气缸打开时间
        /// </summary>
        public static string RT_TIME4_2 = "TIME4_2";

        /// <summary>
        /// 等级5落框时间
        /// </summary>
        public static string RT_TIME5_1 = "TIME5_1";

        /// <summary>
        /// 等级5气缸打开时间
        /// </summary>
        public static string RT_TIME5_2 = "TIME5_2";

        /// <summary>
        /// 等级5落框时间
        /// </summary>
        public static string RT_TIME6_1 = "TIME6_1";	

        /// <summary>
        /// 等级6气缸打开时间
        /// </summary>
        public static string RT_TIME6_2 = "TIME6_2"; 

        /// <summary>
        /// 等级7落框时间
        /// </summary>
        public static string RT_TIME7_1 = "TIME7_1";

        /// <summary>
        /// 等级7气缸打开时间
        /// </summary>
        public static string RT_TIME7_2 = "TIME7_2";

        /// <summary>
        /// 等级8落框时间
        /// </summary>
        public static string RT_TIME8_1 = "TIME8_1";

        /// <summary>
        /// 等级8气缸打开时间
        /// </summary>
        public static string RT_TIME8_2 = "TIME8_2";

        /// <summary>
        /// 等级9落框时间
        /// </summary>
        public static string RT_TIME9_1 = "TIME9_1";	

        /// <summary>
        /// 等级9气缸打开时间
        /// </summary>
        public static string RT_TIME9_2 = "TIME9_2";

        /// <summary>
        /// 等级10落框时间
        /// </summary>
        public static string RT_TIME10_1 = "TIME10_1";

        /// <summary>
        /// 等级10气缸打开时间
        /// </summary>
        public static string RT_TIME10_2 = "TIME10_2";

        /// <summary>
        /// 伺服复位
        /// </summary>
        public static string RT_Reset = "Reset";

        /// <summary>
        /// 复位错误ID
        /// </summary>
        public static string RT_RESET_ERROR_ID = "RESET_ERROR_ID";

        /// <summary>
        /// 复位轴
        /// </summary>
        public static string RT_RESET_ERROR = "RESET_ERROR";

        /// <summary>
        /// 停止运行皮带
        /// </summary>
        public static string RT_STOP = "STOP";

        /// <summary>
        /// 等级信息写入（1~10）
        /// </summary>
        public static string RT_HMI_DJ = "HMI_DJ";

        /// <summary>
        /// 等级写入标志
        /// </summary>
        public static string RT_HMI_DJ_DA = "HMI_DJ_DA";

        /// <summary>
        /// 相机触发
        /// </summary>
        public static string RT_YO_M = "YO_M";

        /// <summary>
        /// 气缸
        /// </summary>
        public static string RT_YV = "YV";

        /// <summary>
        /// 红
        /// </summary>
        public static string RT_LED1 = "LED1";

        /// <summary>
        /// 绿
        /// </summary>
        public static string RT_LED2 = "LED2";

        /// <summary>
        /// 黄
        /// </summary>
        public static string RT_LED3 = "LED3";

        /// <summary>
        /// 蜂鸣器
        /// </summary>
        public static string RT_LED4 = "LED4";

        /// <summary>
        /// 延时拍摄之间设定
        /// </summary>
        public static string RT_time_01 = "time_01";

        /// <summary>
        /// 拍摄时长
        /// </summary>
        public static string RT_time_02 = "time_02";

        /// <summary>
        /// 入口光电
        /// </summary>
        public static string RT_IN_1 = "IN_1";

        /// <summary>
        /// 出口光电
        /// </summary>
        public static string RT_IN_2 = "IN_2";

        /// <summary>
        /// 打开超调
        /// </summary>
        public static string RT_SetOverRide = "SetOverRide";

        /// <summary>
        /// 超调百分比
        /// </summary>
        public static string RT_OverRide = "SET_VelFacter";

        #endregion


        #region 定级机 标签

        public static string BK_Start = "strat";
        public static string BK_Stop = "STOP";
        public static string BK_Reset = "AXIS_RESET";
        public static string BK_YM1_3 = "YM1";
        public static string BK_YM4 = "YM2";

        #endregion
    }
}
